package com.poetic.network.flow.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <pre>
 *  TODO
 * Created by lianghuikun on 2020-09-14.
 * </pre>
 *
 * @author lianghuikun
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserBehavior {
    /**
     * 加密后的用户 ID
     */
    private  Long userId;
    /**
     * 加密后的商品 ID
     */
    private  Long itemId;
    /**
     * 加密后的商品所属类别 ID
     */
    private  Integer categoryId;
    /**
     * 用户行为类型，包括(‘pv’, ‘’buy, ‘cart’, ‘fav’)
     */
    private  String behavior;
    /**
     * 行为发生的时间戳，单位秒
     */
    private  Long timestamp;
}
